package com.roads.project.domain;

import com.roads.common.annotation.Excel;
import com.roads.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 清单整理对象 pro_boq_arrange
 * 
 * @author nhp
 * @date 2021-11-22
 */
public class ProBoqArrange extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 清单ID */
    private Long boqId;

    /** 清单编号 */
    @Excel(name = "清单编码")
    private String boqCode;

    /** 清单名称 */
    @Excel(name = "清单名称")
    private String boqName;

    /** 上级编号 */
    @Excel(name = "上级清单")
    private String parentCode;

    /** 祖籍列表 */
    @Excel(name = "祖籍列表")
    private String ancestors;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 级别 */
    @Excel(name = "级别")
    private Integer level;

    /** 是否叶子结点（0否 1是） */
    @Excel(name = "是否叶节点")
    private String leafNode;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal amount;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal total;

    /** 详细部位 */
    @Excel(name = "详细部位")
    private String describe;

    /** 复核金额 */
    private BigDecimal reviewTotal;

    /** 部位 */
    private String place;

    /** 起始桩号 */
    private String beginStation;

    /** 截止桩号 */
    private String endStation;

    /**
     * 状态
     * 0.正常
     * 1.缺省清单
     * 2.三级清单未找到父项清单
     */
    private Integer status;

    /**
     * 原因
     */
    private String reason;

    /**
     * 自动补全
     */
    private String autoCompletion;

    /**
     * 补全的清单编号
     */
    private String completionCode;

    public void setBoqId(Long boqId) {
        this.boqId = boqId;
    }

    public Long getBoqId() {
        return boqId;
    }
    public void setBoqCode(String boqCode) {
        this.boqCode = boqCode;
    }

    public String getBoqCode() {
        return boqCode;
    }
    public void setBoqName(String boqName) {
        this.boqName = boqName;
    }

    public String getBoqName() {
        return boqName;
    }
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentCode() {
        return parentCode;
    }
    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getAncestors() {
        return ancestors;
    }
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() {
        return orderNum;
    }
    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLevel() {
        return level;
    }
    public void setLeafNode(String leafNode) {
        this.leafNode = leafNode;
    }

    public String getLeafNode() {
        return leafNode;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }
    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getTotal() {
        return total;
    }
    public void setReviewTotal(BigDecimal reviewTotal) {
        this.reviewTotal = reviewTotal;
    }

    public BigDecimal getReviewTotal() {
        return reviewTotal;
    }
    public void setPlace(String place) {
        this.place = place;
    }

    public String getPlace() {
        return place;
    }
    public void setBeginStation(String beginStation) {
        this.beginStation = beginStation;
    }

    public String getBeginStation() {
        return beginStation;
    }
    public void setEndStation(String endStation) {
        this.endStation = endStation;
    }

    public String getEndStation() {
        return endStation;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getAutoCompletion() {
        return autoCompletion;
    }

    public void setAutoCompletion(String autoCompletion) {
        this.autoCompletion = autoCompletion;
    }

    public String getCompletionCode() {
        return completionCode;
    }

    public void setCompletionCode(String completionCode) {
        this.completionCode = completionCode;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

}
